package com.ccom.base.service;

import com.ccom.core.common.model.dto.message.*;

/**
 * @author zjj
 * @date 2021/9/6 15:22
 * @description
 */
public interface SysBaseService {

    void sendSysAnnouncement(MessageDTO message);

    void sendBusAnnouncement(BusMessageDTO message);

    void sendTemplateAnnouncement(TemplateMessageDTO message);

    void sendBusTemplateAnnouncement(BusTemplateMessageDTO message);

    String parseTemplateByCode(TemplateDTO templateDTO);

    void sendWebSocketMsg(String[] userIds, String cmd);

    void sendEmailMsg(String email, String title, String content);
}
